package com.zjcode.cdcer.mapper;

import com.chinatechstar.component.commons.supports.PageData;
import com.zjcode.cdcer.model.ZjcodePlanFollowUp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.LinkedHashMap;
import java.util.List;

/**
 * @author ZQM
 * @date 2023/9/21 16:02
 */
@Mapper
public interface PlanFollowUpMapper {

    Integer add(@Param("followUp") ZjcodePlanFollowUp followUp);

    Integer edit(@Param("followUp") ZjcodePlanFollowUp followUp);

    ZjcodePlanFollowUp selById(@Param("id") String id);

    Integer del(@Param("id") String id);

    Integer changeStatus(@Param("id") String id, @Param("status") Integer status);

    List<LinkedHashMap<String, Object>> selList(@Param("pageData") PageData pageData);
}
